import defaultSettings from '@/settings'
/**根据菜单名设置网页title
 * @param {Object} pageTitle
 */
const title = defaultSettings.title || '反向'

export default function getPageTitle(pageTitle) {
  if (pageTitle) {
    return `${pageTitle} - ${title}`
  }
  return `${title}`
}
